package com.ks.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ks.entity.WarnRecord;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface WarnRecordMapper extends BaseMapper<WarnRecord> {



    IPage<WarnRecord> pageWarnRecord(IPage page);

    @Delete("delete from warn_record")
    void deleteAll();

}
